Molecular profiling and drug testing